﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartProduction.Domain
{
    /// <summary>
    /// 工作中心
    /// </summary>
    public class Job : BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int JId {  get; set; }
        /// <summary>
        /// 工作中心编码
        /// </summary>
        [StringLength(50)]
        public string JobNode { get; set; }
        /// <summary>
        /// 工作中心名称
        /// </summary>
        [StringLength(50)]
        public string JobName { get; set; }
        /// <summary>
        /// 工作中心类型
        /// </summary>
        [StringLength(50)]
        public string JobType { get; set; }
        /// <summary>
        /// 班次
        /// </summary>
        [StringLength(50)]
        public string Shift { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int ApprovalStatus { get; set; }
    }
}
